package com.ruicar.afs.cloud.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.product.entity.ProductPlanAtom;
import com.ruicar.afs.cloud.product.vo.ProductPlanDataVo;
import com.ruicar.afs.cloud.product.vo.ProductPlanVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/5/14 18:08
 */
public interface ProductPlanAtomMapper extends BaseMapper<ProductPlanAtom> {

    List<ProductPlanVo> getProductPlanData(@Param("productPlanId") Long productPlanId, @Param("atomShowType") String atomShowType, @Param("notAtomShowType") String notAtomShowType);

    List<ProductPlanDataVo> getProductPlanDataByProductId(@Param("productPlanId") Long productPlanId, @Param("atomShowType") String atomShowType);


}
